#依赖镜像名称和ID
FROM python
#指定镜像创建者信息
MAINTAINER lea4ning
#切换工作目录
RUN mkdir /soft && mkdir /soft/logs
WORKDIR /soft
COPY ./requirements.txt /soft/requirements.txt
RUN pip install uwsgi -i https://pypi.doubanio.com/simple
RUN pip install -r requirements.txt -i https://pypi.doubanio.com/simple
CMD ["uwsgi", "./ccsp_api.ini"]